package com.leyou;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ImportResource;

/**
 * @Author lixin
 * @Date 2018/11/21 17:49
 * @Version 1.0
 * @Description TODO
 **/
@ImportResource("classpath:dubbo/provider.xml")
@SpringBootApplication
public class TableFontProvider extends SpringBootServletInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(this.getClass());
    }

    public static void main(String[] args) {

        SpringApplication.run(TableFontProvider.class, args);

    }
}
